package com.reverie.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Rui.Zhou
 * @since 2024-02-03
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("mh_users")
public class Member implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户编号
     */
    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer userId;

    private String email;

    /**
     * 登录账号，手机号码
     */
    private String userName;

    private String password;

    private String question;

    private String answer;

    private Byte sex;

    private LocalDate birthday;

    private BigDecimal userMoney;

    private BigDecimal frozenMoney;

    private Integer payPoints;

    private Integer rankPoints;

    private Integer addressId;

    private Integer regTime;

    private Integer lastLogin;

    private Integer lastTime;

    private String lastIp;

    private Short visitCount;

    private Byte userRank;

    private Byte isSpecial;

    private String ecSalt;

    private String salt;

    private Integer parentId;

    private Byte flag;

    private String alias;

    private String msn;

    private String qq;

    private String weixin;

    private String officePhone;

    private String homePhone;

    private String mobilePhone;

    private Byte isValidated;

    private BigDecimal creditLine;

    private String passwdQuestion;

    private String passwdAnswer;

    /**
     * 昵称
     */
    private String nickname;

    /**
     * 头像
     */
    private String icon;

    /**
     * 姓名
     */
    private String name;

    /**
     * 教育状况
     */
    private String education;

    /**
     * 职业生涯
     */
    private String career;

    /**
     * 情感状况
     */
    private String emotion;

    /**
     * 口感类型
     */
    private String mouthfeel;

    /**
     * 纪念类型
     */
    private String memorytype;

    /**
     * 纪念日
     */
    private String memoryday;

    /**
     * 会员等级
     */
    private Integer level;

    /**
     * 成长比例
     */
    private Short percent;

    private Integer updatedAt;

    /**
     * 星星数
     */
    private Integer starNums;

    private String userNo;

    private Byte sapSync;

    private String sapTag;

    /**
     * 推荐人
     */
    private String recommend;

    /**
     * 是否已赠送优惠券
     */
    private Byte hasSendCoupon;

    private String remark;

    private Byte isDelete;

    /**
     * 微信号
     */
    private String openId;
}
